package com.d3works.apps.base.rest.http;

public interface RequestEvent<T> {

  default String getURL() {
    return null;
  }

  void onRequest(Object body, RequestEventArgs request) throws Exception;

  T onResponsed(ResponseEventArgs response) throws Exception;
}
